package work;

public class Bite<hedgehog, Dog, Goodman> {
	// 用oop的思想模拟 狗咬吕洞宾,不识好人心；
	// 狗咬刺猬，无从下口；狗咬狗，一嘴毛
	private String name;

	public void Dog(String name) {
		this.name = name;
	}

	public void biteGoodman(Goodman man) {
		System.out.println(name + "咬" + man.name + "不识好人❤");
	}

	public void biteHedgehog(hedgehog hog) {
		System.out.println(name + "咬" + hog + "无处下牙");
	}

	public void biteDog(Dog dog1) {
		System.out.println(name + "咬" + dog1 + "一嘴毛");
	}

}
